package cn.hefan.domain;

import java.util.List;

public class Pages<T> {
	private int allCount;//总记录数
	private int allPages;//总页数
	private int currentPage;//当前页码
	private int PageSize;//每页显示条数
	private List<T> list;//每页显示的数据集合
	public int getAllCount() {
		return allCount;
	}
	public void setAllCount(int allCount) {
		this.allCount = allCount;
	}
	public int getAllPages() {
		return allPages;
	}
	public void setAllPages(int allPages) {
		this.allPages = allPages;
	}
	public int getCurrentPage() {
		return currentPage;
	}
	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}
	public int getPageSize() {
		return PageSize;
	}
	public void setPageSize(int pageSize) {
		PageSize = pageSize;
	}
	public List<T> getList() {
		return list;
	}
	public void setList(List<T> list) {
		this.list = list;
	}
	@Override
	public String toString() {
		return "Pages [allCount=" + allCount + ", allPages=" + allPages + ", currentPage=" + currentPage + ", PageSize="
				+ PageSize + ", list=" + list + "]";
	}
	
	
}
